Add a few missing (nullable) annotations
authorTimm Bäder <mail@baedert.org>
Thu, 16 Feb 2017 11:22:33 +0000 (12:22 +0100)
committerTimm Bäder <mail@baedert.org>
Fri, 17 Feb 2017 17:23:01 +0000 (18:23 +0100)
gtk/gtkbutton.c
gtk/gtkgesture.c
gtk/gtkimage.c

index 7ac14e54bd062b7f434e53385fa30f798f4c7de9..df8e455c7977e3d350260f36b9e0ee2d05965244 100644 (file)
@@ -661,7 +661,7 @@ gtk_button_new_with_label (const gchar *label)
 
 /**
  * gtk_button_new_from_icon_name:
- * @icon_name: an icon name
+ * @icon_name: (nullable): an icon name or %NULL
  * @size: (type int): an icon size (#GtkIconSize)
  *
  * Creates a new button containing an icon from the current icon theme.
index 3d755101c6a6b8abb675284cfa89b2a1771cdbbb..64426c899ec16f8f32cbef548a53b6cd5b302503 100644 (file)
@@ -1523,12 +1523,12 @@ _gtk_gesture_check (GtkGesture *gesture)
 /**
  * gtk_gesture_handles_sequence:
  * @gesture: a #GtkGesture
- * @sequence: a #GdkEventSequence
+ * @sequence: (nullable): a #GdkEventSequence or %NULL
  *
  * Returns %TRUE if @gesture is currently handling events corresponding to
  * @sequence.
  *
- * Returns: %TRUE if @gesture is handling @sequence
+ * Returns: %TRUE if @gesture is handling @sequence, %FALSE otherwise
  *
  * Since: 3.14
  **/
index d788270abddc8c2f5832ff615aab5b13cfceccb4..1ed309ffb54e2a2d932a214900a03c047f32852d 100644 (file)
@@ -1063,7 +1063,7 @@ gtk_image_set_from_gicon  (GtkImage       *image,
 /**
  * gtk_image_set_from_surface:
  * @image: a #GtkImage
- * @surface: a cairo_surface_t
+ * @surface: (nullable): a cairo_surface_t or %NULL
  *
  * See gtk_image_new_from_surface() for details.
  *